@{
    var typeDisplayName = Model.ContentItem.TypeDefinition.DisplayName;
    var pageTitle = T("New {0}", typeDisplayName);

    Layout.Title = (string)pageTitle.Text;
}

@using (Html.BeginFormAntiForgeryPost(Url.Action("Create", new { ReturnUrl = Request.QueryString["ReturnUrl"] }))) {
    @Html.ValidationSummary()
    // Model is a Shape, calling Display() so that it is rendered using the most specific template for its Shape type
    @Display(Model)
}